import request from '@/utils/request'

//获取简历文件 接口为空
export const getResumeFile = () => request.get("/file/getResumeFile")

//上传文件
export const uploadFile = (data, config) => {
    return request.post("/file/uploadFile", data, {
        headers: {
            'Content-Type': 'multipart/form-data'
        },
        ...config
    });
}
//删除文件
export const deleteFile = (params) => request.delete("/file/deleteFile", { params })

//下载文件
export const downloadFile = (params) => request.get("/file/downloadFile", { params })

//投递简历
export const sendResume = (data) => request.put("/job/applyJob", data)